﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PEProtocol
{
    /// <summary>
    /// 角色登录的时候，在登录服会根据角色账号和UID生成IP，端口和Token，用于战斗服的校验
    /// </summary>
    public class ReqRoleToken
    {
        public string Acct { get; set; }
        public int SelectUID { get; set; }
    }
    public class RspRoleToken
    {
        public string BattleIP { get; set; }
        public int BattlePort { get; set; }
        public string Token { get; set; }
     }

    public class ReqTokenAccess
    {
        public int UID { get; set; }
        public string Token { get; set; }
    }

    public partial class NetMsg
    {
        public ReqRoleToken ReqRoleToken { get; set; }
        public RspRoleToken RspRoleToken { get; set; }

    }
}
